package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 总账户信息
 * </p>
 *
 * @author 
 * @since 2023-08-26
 */
@Getter
@Setter
@TableName("lq_account_info")
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账户名称
     */
    private String name;

    /**
     * 类型
     */
    private String type;

    /**
     * 账号
     */
    private String accountNo;

    /**
     * 账号信息
     */
    private String accountUser;

    /**
     * 账户余额
     */
    private BigDecimal totalAmount;

    /**
     * 所属用户ID
     */
    private String ownerId;

    /**
     * 所属用户名称
     */
    private String ownerName;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
